﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Front/Site.Master" AutoEventWireup="true" CodeBehind="ArticleList.aspx.cs" Inherits="VK.Casemeet.Web.Front.ArticleList" %>

<%@ Register assembly="AspNetPager" namespace="Wuqi.Webdiyer" tagprefix="webdiyer" %>
<%@ Import Namespace="VK.Comm" %>

<%@ Register src="Controls/TopArticle.ascx" tagname="TopArticle" tagprefix="uc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="contentHead" runat="server">
    <link href="/Front/css/style.css" type="text/css" rel="stylesheet" charset="utf-8" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="contentBody" runat="server">
<div id="content_width">
		<!------banner------>
		<div id="info_banner"><img src="/Front/images/info_banner.jpg"/></div>
		<!----首页内容-----> 
		<div id="content">
			<div id="news_main">
				<div class="breadcrumbs ">
					<div class="title graytitle"><p>当前位置 >  <a href="/Default_<% =(Master as VK.Casemeet.Web.Front.Site).GetAreaUrl() %>.html">首页</a> > 联盟动态 </p></div>
				</div>
				<div class="news bg border spacing">
					<div class="title greentitle"><h3>联盟动态</h3><div class="clear"></div></div>
					<ul class="news_content  spacing">
                        <asp:Repeater ID="rptArticle" runat="server">
                        <ItemTemplate>
                        <li><h5><a href="/<% =(Master as VK.Casemeet.Web.Front.Site).GetAreaUrl() %>/ArticleDetail/<%# Eval("ArticleID") %>.html"><%# Eval("Title") %></a></h5>
							<p><%# Util.CutString(Util.StripHTML(Server.HtmlDecode(Eval("Content").ToString())), 176, CutStyle.Ellipsis) %></p>
							<span>发布时间：<%# Eval("Created")%> <a href="/<% =(Master as VK.Casemeet.Web.Front.Site).GetAreaUrl() %>/ArticleDetail/<%# Eval("ArticleID") %>.html">查看详情</a></span>
						</li>
                        </ItemTemplate>
                        </asp:Repeater>
					</ul>
					<!--S 列表分页 -->  
                    <webdiyer:AspNetPager ID="aspNetPager" runat="server" CssClass="pagination" CurrentPageButtonClass="current" 
                        onpagechanged="aspNetPager_PageChanged" PageIndexBoxType="DropDownList" PageSize="10" 
                        SubmitButtonText="Go" TextAfterPageIndexBox="页" TextBeforePageIndexBox="转到" 
                        CustomInfoHTML="<span>第 %currentPageIndex%/%pageCount% 页</span>" 
                        ShowCustomInfoSection="Left" CustomInfoSectionWidth="28%" 
                        NumericButtonCount="5" Width="100%" UrlPaging="True" FirstLastButtonsClass="marlf10" FirstPageText="首页" 
                        LastPageText="尾页" NextPageText="下一页" PrevPageText="上一页" CurrentPageButtonPosition="Center" 
                        ShowPageIndexBox="Never">
                    </webdiyer:AspNetPager><div class="clear"></div>
                    <!--E 列表分页 --> 
				</div>
			</div>
			<div id="news_sidebar">
				<div class="news_side_ad"><img src="/Front/images/side_adbanner.jpg"/></div>
				<div class="hot_news bg border spacing">
					<div class="title bluetitle"><h3>热门动态</h3><div class="clear"></div></div>
					<ul  class="hot_news_con">
						<uc1:TopArticle ID="TopArticle1" runat="server" SortField="[Article].[Hits]" />
					</ul>
				</div>
				<div class="news_side_ad2 spacing"><img src="/Front/images/side_adbanner01.jpg"/></div>
			</div><div class="clear"></div>
		</div>
	</div>
</asp:Content>
